package com.tanhua.dubbo.es;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;


@SpringBootApplication(exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class}) //排除mongo的自动配置

public class ESApplication {

    public static void main(String[] args) {
//        解决jar包冲突
        System.setProperty("es.set.netty.runtime.available.processors", "false");
        SpringApplication.run(ESApplication.class, args);
    }
}